package com.kabigon.tiny.scheduling;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author kabigon
 * @version 2022/12/3/20:44
 */
@Component
@Slf4j
public class Scheduling {

    @Scheduled(cron = "0/2 * * * * ?")
    public void testScheduled() {
        log.info("tom");
    }

}
